.q-img
  position: relative
  width: $img-width
  display: inline-block
  vertical-align: middle

  &__loading .q-spinner
    font-size: $img-loading-font-size

  &__image
    background-repeat: $img-background-repeat

  &__content > div
    position: $img-content-position
    padding: $img-content-padding
    color: $img-content-color
    background: $img-content-background
